<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体粗细</title>
    <style>
        .bold {
            /* font-weight: bold; */
            /* 这个字体加粗的数字后面不用加单位 */
            font-weight: 700;
        }
    </style>
</head>

<body>
    <h3>相思</h3>
    <h6>王维[唐]</h6>
    <p class="bold">红豆生南国，春来发几枝。</p>
    <p>愿君多采撷，此物最相思。</p>
</body>

</html>